<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/6/29 0029
 * Time: 11:21
 */

namespace app\model\model;


class Social extends Base
{
    public function getOne($where){
        return $this->where($where)->find();
    }
    public function up($where,$data){
        return $this->where($where)->update($data);
    }
}